Resource StructureDefinition/FHIR Server from package bonsai.poc.second.test.rc1#1.3.0 (141 ms)
Resources that use this resource
Resources that this resource uses
Source
{
"resourceType" : "StructureDefinition",
"id" : "f06c6e96-4495-4afa-b688-02bef19f2d6d",
"meta" : {
"versionId" : "1",
"lastUpdated" : "2025-01-14T09:38:18.4148619+00:00"
},
"url" : "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationDispense",
"version" : "1.2.1",
"name" : "NLLMedicationDispense",
"status" : "active",
"date" : "2025-01-14",
"publisher" : "Swedish eHealth Agency",
"fhirVersion" : "4.0.1",
"mapping" : [
{
"identity" : "EHM",
"name" : "E-hälsomyndigheten concept"
}
],
"kind" : "resource",
"abstract" : false,
"type" : "MedicationDispense",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "MedicationDispense",
"path" : "MedicationDispense",
"short" : "A medication dispense to a specific patient authorzied by a prescription",
"definition" : "A medication dispense to a specific patient authorzied by a prescription in electronic format. Medication dispenses authorized by paper based prescriptions must use the profile NLLDispensePaperPrescription."
},
{
"id" : "MedicationDispense.id",
"path" : "MedicationDispense.id",
"comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.\r\nThis id is identified by the URI http://electronichealth.se/identifier/nllmedicationdispenseid in documentation and external systems.",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Logiskt id för uttag"
}
]
},
{
"id" : "MedicationDispense.meta",
"path" : "MedicationDispense.meta",
"mustSupport" : true
},
{
"id" : "MedicationDispense.meta.versionId",
"path" : "MedicationDispense.meta.versionId",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Uttagsversion"
}
]
},
{
"id" : "MedicationDispense.meta.security",
"path" : "MedicationDispense.meta.security",
"mustSupport" : true,
"binding" : {
"strength" : "extensible",
"valueSet" : "http://ehalsomyndigheten.se/fhir/ValueSet/security-labels"
}
},
{
"id" : "MedicationDispense.meta.security.system",
"path" : "MedicationDispense.meta.security.system",
"mustSupport" : true
},
{
"id" : "MedicationDispense.meta.security.version",
"path" : "MedicationDispense.meta.security.version",
"mustSupport" : true
},
{
"id" : "MedicationDispense.meta.security.code",
"path" : "MedicationDispense.meta.security.code",
"mustSupport" : true
},
{
"id" : "MedicationDispense.extension",
"path" : "MedicationDispense.extension",
"min" : 3
},
{
"id" : "MedicationDispense.extension:nllNumberOfPackagesDispensed",
"path" : "MedicationDispense.extension",
"sliceName" : "nllNumberOfPackagesDispensed",
"short" : "Number of packages dispensed",
"definition" : "The number of packages that were included in the dispense. Shall not be set for dose dispensed dispenses.",
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesDispensed"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Antal expedierade förpackningar"
}
]
},
{
"id" : "MedicationDispense.extension:nllActorDispatchId",
"path" : "MedicationDispense.extension",
"sliceName" : "nllActorDispatchId",
"short" : "The identifier of the actor's dispatch in which the dispense was made",
"comment" : "Maximum string length: 12",
"min" : 1,
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLActorDispatchId"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Aktörens expeditions-id"
}
]
},
{
"id" : "MedicationDispense.extension:nllDispatchId",
"path" : "MedicationDispense.extension",
"sliceName" : "nllDispatchId",
"short" : "The identifier of the dispatch in which the dispense was made",
"definition" : "Value is treated as an integer, i.e the String can only contain numbers.\r\nMay be entered by the pharmacy, otherwise it is calculated by the Swedish E-health Agency .\r\nThe identifier of the dispatch in which the dispense was made.",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLDispatchId"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Expeditions-id"
}
]
},
{
"id" : "MedicationDispense.extension:nllBenefitChoiceCode",
"path" : "MedicationDispense.extension",
"sliceName" : "nllBenefitChoiceCode",
"short" : "Benefit choice",
"definition" : "Type of benefit for the dispense.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLBenefitChoiceCode"
]
}
],
"mustSupport" : true,
"binding" : {
"strength" : "required",
"valueSet" : "http://ehalsomyndigheten.se/fhir/ValueSet/benefit-choices"
},
"mapping" : [
{
"identity" : "EHM",
"map" : "Förmånsval"
}
]
},
{
"id" : "MedicationDispense.extension:nllDispatchRowNo",
"path" : "MedicationDispense.extension",
"sliceName" : "nllDispatchRowNo",
"short" : "Identier for MedicationDispense within dispatch",
"definition" : "Used when communicationg an error or warning for a MedicationDispense within a dispatch. The DispatchRowNo (ExpeditionsRadNummer) uniquely identifies a MediationDispense within a dispatch.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLDispatchRowNo"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Aktörens expeditionsradnummer"
}
]
},
{
"id" : "MedicationDispense.extension:nllDeductedQuantity",
"path" : "MedicationDispense.extension",
"sliceName" : "nllDeductedQuantity",
"short" : "Deducted quantity",
"definition" : "The quantity that is deducted form the prescription's remaining quantity.\r\nOnly used if the deducted quantity should differ from the dispensed quantity.",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLDeductedQuantity"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Avräknad mängd"
}
]
},
{
"id" : "MedicationDispense.extension:nllCompletePrescriptionChoice",
"path" : "MedicationDispense.extension",
"sliceName" : "nllCompletePrescriptionChoice",
"short" : "Prescription completion choice",
"definition" : "Only used for input.\r\nWhen 12% or less of the total quantity of the prescribed medication is left, the prescription will automatically be set to status \"Completed\". \r\nA pharmacist can make a descision to overrule the automatic rules by either choosing to set the prescription status to \"Completed\" or to keep the status \"Active\".",
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLCompletePrescriptionChoice"
]
}
],
"mustSupport" : true,
"binding" : {
"strength" : "required",
"valueSet" : "http://ehalsomyndigheten.se/fhir/ValueSet/complete-prescription-choices"
},
"mapping" : [
{
"identity" : "EHM",
"map" : "Beslut slutexpediering"
}
]
},
{
"id" : "MedicationDispense.extension:nllDispenseCrediting",
"path" : "MedicationDispense.extension",
"sliceName" : "nllDispenseCrediting",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLDispenseCrediting"
]
}
],
"mustSupport" : true
},
{
"id" : "MedicationDispense.extension:nllDispenseCrediting.extension:creditDate",
"path" : "MedicationDispense.extension.extension",
"sliceName" : "creditDate",
"short" : "Credit date and time",
"definition" : "The date and time when the dispense was credited.",
"mustSupport" : true
},
{
"id" : "MedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchId",
"path" : "MedicationDispense.extension.extension",
"sliceName" : "creditDispatchId",
"mustSupport" : true
},
{
"id" : "MedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchRowNo",
"path" : "MedicationDispense.extension.extension",
"sliceName" : "creditDispatchRowNo",
"mustSupport" : true
},
{
"id" : "MedicationDispense.status",
"path" : "MedicationDispense.status",
"short" : "cancelled | completed",
"mustSupport" : true,
"binding" : {
"strength" : "required",
"valueSet" : "http://electronichealth.se/fhir/ValueSet/medication-dispense-status"
},
"mapping" : [
{
"identity" : "EHM",
"map" : "Uttagsstatus"
}
]
},
{
"id" : "MedicationDispense.medication[x]",
"path" : "MedicationDispense.medication[x]",
"short" : "Dispensed medication or reimbursed consumable",
"definition" : "Identifies the medication or reimbursed consumable being dispensed. \r\nThe codes used are Swedish NplId for medical products, NplPackId for medicine packages and Varunr for reimbursed consumables. \r\nFor a medicine package, both the NplId and the NplPackId shall be provided. Varunr is not allowed to use when dispensing a medication.\r\nFor a reimbursed consumable, only Varunr shall be provided.",
"comment" : "If more information is required, then the use of the medication resource is recommended.",
"type" : [
{
"code" : "CodeableConcept"
}
],
"mustSupport" : true,
"binding" : {
"strength" : "required"
},
"mapping" : [
{
"identity" : "EHM",
"map" : "Expedierad artikel"
}
]
},
{
"id" : "MedicationDispense.medication[x].coding",
"path" : "MedicationDispense.medication[x].coding",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "system"
}
],
"rules" : "open"
},
"min" : 1,
"mustSupport" : true
},
{
"id" : "MedicationDispense.medication[x].coding:nplid",
"path" : "MedicationDispense.medication[x].coding",
"sliceName" : "nplid",
"short" : "NPL-id",
"definition" : "A unique identifier of a medical product according to \"Nationellt produktregister för läkemedel\" provided by the Swedish Medical Products Agency (sv Läkemedelsverket)",
"max" : "1",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "NPL-id"
}
]
},
{
"id" : "MedicationDispense.medication[x].coding:nplid.system",
"path" : "MedicationDispense.medication[x].coding.system",
"min" : 1,
"fixedUri" : "http://electronichealth.se/fhir/NamingSystem/nplid",
"mustSupport" : true
},
{
"id" : "MedicationDispense.medication[x].coding:nplid.code",
"path" : "MedicationDispense.medication[x].coding.code",
"comment" : "Maximum string length: 14",
"min" : 1,
"mustSupport" : true
},
{
"id" : "MedicationDispense.medication[x].coding:nplpackid",
"path" : "MedicationDispense.medication[x].coding",
"sliceName" : "nplpackid",
"short" : "NPL-pack-id",
"definition" : "A unique identifier of a medical product package according to \"Nationellt produktregister för läkemedel\" provided by the Swedish Medical Products Agency (sv Läkemedelsverket).",
"max" : "1",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "NPL-pack-id"
}
]
},
{
"id" : "MedicationDispense.medication[x].coding:nplpackid.system",
"path" : "MedicationDispense.medication[x].coding.system",
"min" : 1,
"fixedUri" : "http://electronichealth.se/fhir/NamingSystem/nplpackid",
"mustSupport" : true
},
{
"id" : "MedicationDispense.medication[x].coding:nplpackid.code",
"path" : "MedicationDispense.medication[x].coding.code",
"comment" : "Maximum string length: 14",
"min" : 1,
"mustSupport" : true
},
{
"id" : "MedicationDispense.medication[x].coding:varunr",
"path" : "MedicationDispense.medication[x].coding",
"sliceName" : "varunr",
"short" : "Varunummer",
"definition" : "A unique identifier of a medical consumable according to \"Nationellt produktregister för läkemedel\" provided by the Swedish Medical Products Agency (sv Läkemedelsverket)\r\nAlso a non-unique identifier of a medical product package.",
"max" : "1",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Varunummer"
}
]
},
{
"id" : "MedicationDispense.medication[x].coding:varunr.system",
"path" : "MedicationDispense.medication[x].coding.system",
"min" : 1,
"fixedUri" : "http://electronichealth.se/fhir/NamingSystem/varunr",
"mustSupport" : true
},
{
"id" : "MedicationDispense.medication[x].coding:varunr.code",
"path" : "MedicationDispense.medication[x].coding.code",
"comment" : "Minimum string length: 6\r\nMaximum string length: 6",
"min" : 1,
"mustSupport" : true
},
{
"id" : "MedicationDispense.authorizingPrescription",
"path" : "MedicationDispense.authorizingPrescription",
"short" : "MedicationRequest that authorizes the dispense",
"definition" : "Reference to the MedicationRequest that was dispatched. Note that authorizingprescription must include the version of the medication request. That is done by using the /_history/ suffix.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
],
"aggregation" : [
"referenced"
],
"versioning" : "specific"
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Förskrivningsversion"
}
]
},
{
"id" : "MedicationDispense.type",
"path" : "MedicationDispense.type",
"short" : "Type of dispense",
"definition" : "Type is used for specifing if the dispense was a \"Standard packing fill\" , \"Trial fill\" (startförpackning) or \"Dose dispensed fill\" in the Swedish National Medication List. (Trial fill is not used for dose dispensed fills).",
"min" : 1,
"mustSupport" : true,
"binding" : {
"strength" : "required",
"description" : "Indicates the type of dispensing event that is performed, e.g. Standard packing fill, Trial fill or Dose dispense refill",
"valueSet" : "http://electronichealth.se/fhir/ValueSet/dispense-types"
},
"mapping" : [
{
"identity" : "EHM",
"map" : "Uttagstyp"
}
]
},
{
"id" : "MedicationDispense.type.coding",
"path" : "MedicationDispense.type.coding",
"min" : 1,
"max" : "1",
"mustSupport" : true
},
{
"id" : "MedicationDispense.type.coding.system",
"path" : "MedicationDispense.type.coding.system",
"mustSupport" : true
},
{
"id" : "MedicationDispense.type.coding.version",
"path" : "MedicationDispense.type.coding.version",
"mustSupport" : true
},
{
"id" : "MedicationDispense.type.coding.code",
"path" : "MedicationDispense.type.coding.code",
"min" : 1,
"mustSupport" : true
},
{
"id" : "MedicationDispense.quantity",
"path" : "MedicationDispense.quantity",
"definition" : "The amount of the article that has been dispensed.",
"comment" : "When dispensing an article (not for dose dispenses), this will be either set by the pharmacy or calculated based on the number of packages and the package size. <br>\r\nIf complete packages are dispensed, the quantity is calculated by the Swedish eHealth Agency. In this scenarion only the number of packages should be entered (no quantity).<br>\r\nIf only a part of a package is dispensed (sv bruten helförpackning), the pharmacy must enter both the quantity and the number of packages that was dispensed. <br>",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Expedierad mängd"
}
]
},
{
"id" : "MedicationDispense.quantity.value",
"path" : "MedicationDispense.quantity.value",
"min" : 1,
"mustSupport" : true
},
{
"id" : "MedicationDispense.whenHandedOver",
"path" : "MedicationDispense.whenHandedOver",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Expeditionstidpunkt"
}
]
},
{
"id" : "MedicationDispense.note",
"path" : "MedicationDispense.note",
"short" : "Pharmacists note",
"definition" : "The pharmacists note about the dispense.",
"comment" : "Maximum string length: 1016",
"max" : "1",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Uttagsnotering"
}
]
},
{
"id" : "MedicationDispense.note.text",
"path" : "MedicationDispense.note.text",
"mustSupport" : true
},
{
"id" : "MedicationDispense.dosageInstruction",
"path" : "MedicationDispense.dosageInstruction",
"comment" : "A medication dispense is always based/dispatched on a specific version of a medication request. <br>\r\nA dosage instruction must be provided of there is a unique dosage for the medication dispense which differs from the dosage instruction on the medication request version. <br>\r\nThe dosage instruction on the medication request version is used as the valid dosage if no other dosage instruction is provided on the medication dispense. <br>\r\nIf a new dosage instruction should be in effect for the current and following medication dispenses, the medication request needs to be updated before the medication dispense is made.<br>\r\nFor a read-operation on a medication dispense, the dosage instruction must be read from the medication request version if there is no dosage instruction on the specific medication dispense resource.",
"type" : [
{
"code" : "Dosage",
"profile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLDosage"
]
}
],
"mustSupport" : true
},
{
"id" : "MedicationDispense.dosageInstruction.sequence",
"path" : "MedicationDispense.dosageInstruction.sequence",
"definition" : "Indicates the order in which the dosage instructions should be applied or interpreted ."
},
{
"id" : "MedicationDispense.substitution",
"path" : "MedicationDispense.substitution",
"definition" : "Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen. If nothing is specified, substitution was not done.",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Generikautbyte utfört"
}
]
},
{
"id" : "MedicationDispense.substitution.wasSubstituted",
"path" : "MedicationDispense.substitution.wasSubstituted",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Generikautbyte utfört"
}
]
},
{
"id" : "MedicationDispense.detectedIssue",
"path" : "MedicationDispense.detectedIssue",
"short" : "Automatic Format and Constitution Control warning (AFF varning)",
"definition" : "Accepted warnings can be provided when creating a MedicationDispense.\r\nAutomatic Format and Constitution Control (AFF) accepted by the pharmacist.\r\nNB! The DetectedIssues are never saved by the Swedish eHealth Agency.",
"type" : [
{
"code" : "Reference",
"targetProfile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLDetectedIssue"
],
"aggregation" : [
"contained"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Accepterade varningar"
}
]
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.